/**
 * linkrfi.h
 *
 * data link layer radio frequency interface.
 *
 * Copyright (c) sti-seedclass 2011, tankery.chen@gmail.com
 */
#ifndef __LINKRFI_H_
#define __LINKRFI_H_

typedef void (* callback_array)(uint8_t *, uint32_t);

void linkrfiInit(uint8_t srcAddr);
void linkrfiSetIntCallback(callback_array);
uint32_t linkrfiSend(uint8_t *, uint32_t);
void linkrfiProcessDuty(void);
uint32_t linkrfiIsWorking(void);

#endif // __LINKRFI_H_

